package com.ldc.framework.adapter

import com.ldc.commonres.common.BaseRvAdapter
import com.ldc.commonres.common.BaseRvViewHolder
import com.ldc.framework.R
import com.ldc.framework.model.CoinModel

class CoinAdapter : BaseRvAdapter<CoinModel>(R.layout.framework_layout_view_item_coin) {
    override fun convertTo(holder: BaseRvViewHolder, data: CoinModel, position: Int) {
        holder.setText(R.id.tv_name, data.userName)
        holder.setText(R.id.tv_name2, "${data.userId}")
        holder.setText(R.id.tv_name3, data.desc)
    }
}